import {
    postBPWebAccess
} from "api/appServe/applogin";
import common from "common/js/common";
export const BPmixins = {

    data() {
        return {
            mixStr: '这是混合的data字符串',
            // appid: "wx3b543df581b4c3d7",
            wxDic: {},
            isLaunch: false,
            // ourAppID: "wxc35f98e73bfb94f2"
        }
    },
    created() {
        console.log('这就是mixin啊');
        // console.log(wx);
        var postDic = {
            url: window.location.href
        }
        this.wPostBPWebAccess(postDic);
    },

    mounted() {

    },

    methods: {
        mixTextClick() {
            console.log('这是混合的测试点击方法');
        },
        wPostBPWebAccess(dataDic){
            postBPWebAccess(dataDic).then(res => {
                console.log(res);
            })
        }
      
    },
};